package com.situ.study.day8;

import org.junit.Test;

public class Demo {
    @Test
    public void test1() {
        Student student = new Student(1, "张三", 23, "Java2202");
        System.out.println(student.getId());
        System.out.println(student.getClassName());

        //学生就是人
        Person person = new Student();
    }

    // 'show(int, char, double)' is already defined in 'com.situ.study.day8.Demo'
    //void show(int a, char b, double c){}

    //double show(int x, char y, double z){}
}
